package com.ysd.entity;

import java.util.Date;

public class User {
	private Integer userId;
	private String userName;
	private Date birthday;
	private String phone;
	private String password;
	private Integer defaultaddress;
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getDefaultaddress() {
		return defaultaddress;
	}
	public void setDefaultaddress(Integer defaultaddress) {
		this.defaultaddress = defaultaddress;
	}
	public User(Integer userId, String userName, Date birthday, String phone, String password, Integer defaultaddress) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.birthday = birthday;
		this.phone = phone;
		this.password = password;
		this.defaultaddress = defaultaddress;
	}
	public User() {
		super();
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", birthday=" + birthday + ", phone=" + phone
				+ ", password=" + password + ", defaultaddress=" + defaultaddress + "]";
	}
	
	
}
